﻿/*!
 * 立绘相关
 *
 *
 */

// 定义立绘画布
var ci = $('#characterimage').get(0).getContext('2d');

ci.draw = function(src){
	var image = new Image();
	image.src = src;
	image.onload = function(){
		ci.drawImage(image, 100, 0, 400, 600);
	}
}